<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
<?php

		$nameEnv = sfConfig::get('sf_environment');
		if($nameEnv != 'prod')
		{
			echo ("<h1><span class='redtext'>Vous êtes dans l'environnement: ". sfConfig::get('app_env_name') ." </span></h1>");
		}	
		?>
<h1 class="pagetitle">Connexion</h1>
	<form id="myForm" action="<?php echo url_for('connexionAppli/submit') ?>" method="post" enctype="multipart/form-data">
	<div id="errorDisplayHaut" class="errorDisplay">&nbsp;</div>
		<table class="tab_conn">
			<tr>
				<td>
					<?php
						echo $form['login']->render(array('value'=>__("Your User Name"),
							'title'=>__("Your user ID"),
							"onFocus"=>"if(this.value==\"".__("Your User Name")."\") this.value='';", 
							"onBlur"=>"if(this.value=='')this.value=\"".__("Your User Name")."\";"));
					?>
				</td>
			</tr>
			<tr>
				<td>
					<?php
						echo $form['pwd']->render(array('value'=>__("Password"),
							'title'=>__("Your password ID"),
							"onFocus"=>"if(this.value==\"".__("Password")."\") this.value='';", 
							"onBlur"=>"if(this.value=='')this.value=\"".__("Password")."\";"));
					?>
				</td>
			</tr>
			<tr>
				<td>
					<input type="image" src="/images/login.png" name="submit" id="submit_btn">
				</td>
			</tr>
		</table>
	</form>

<script type="text/javascript">
function customVal(validators)
{

}
</script>